import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false;
App.mpType = 'app';

//引入封装的接口请求函数
import WXrequest from './utils/wx-request'
Vue.prototype.$httpWX = WXrequest;

//引入封装的路由参数获取
import {getOptions} from './utils/get-url-options'
Vue.prototype.$getOptions = getOptions;

//引入接口地址
// Vue.prototype.$baseURL = process.env.API_ROOT;
Vue.prototype.$baseURL = "https://www.trianglefit.top/triangle";

const app = new Vue(App);
app.$mount();
